package ru.inse.web.view;

import java.util.Map;

import ru.xeden.web.view.IViewRegisterService;

public class ViewRegister
{
    
    private View view;
    
    public void setView(View view)
    {
        this.view = view;
    }
    
    public void viewRegisterServiceBind(IViewRegisterService register, Map properties)
    {
        register.registerView(view);
    }

    public void viewRegisterServiceUnbind(IViewRegisterService register, Map properties)
    {
        register.unregisterView(view);
    }
}
